package com.ftaillefer.rss.saxhandlers;

import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;

public class SaxRssFeedHandler extends DefaultHandler {
	private String temp;
	
    public void characters(char[] buffer, int start, int length) {
        temp = new String(buffer, start, length);
 }

    public void startElement(String uri, String localName,
            String qName, Attributes attributes) throws SAXException {
     temp = "";
     System.out.println (temp);
     
}

}
